makeSearchCommand({
  name: "AUR-Search",
  author: {name: "Laurie Clark-Michalek", email: "laurielegit@gmail.com"},
  homepage: "http://blue-peppers.blogspot.com",
  license: "GPL",
  description: "Search for pacages in the Arch Linux User Repositary",
  icon: "http://wiki.archlinux.org/favicon.ico",
  url:"http://aur.archlinux.org/packages.php?O=0&K={QUERY}&do_Search=Go&PP=25&SO=d&SB=v",
  preview: function(pBlock, directObj) {
    if (directObj.text)
      pBlock.innerHtml = "Searches Arch Linux User Repositary for " + directObj.text;
    else
      pBlock.innerHTML = "Searches Arch Linux User Repositary for the given words.";
  }
});
makeSearchCommand({
  name: "Arch-Wiki-Search",
  author: {name: "Laurie Clark-Michalek", email: "laurielegit@gmail.com"},
  homepage: "http://blue-peppers.blogspot.com",
  license: "GPL",
  description: "Search for pages in the Arch Linux wiki",
  icon: "http://wiki.archlinux.org/favicon.ico",
  url:"http://wiki.archlinux.org/index.php/Special:Search?search={QUERY}&go=Go",
  preview: function(pBlock, directObj) {
    if (directObj.text)
      pBlock.innerHtml = "Searches Arch Linux wiki for " + directObj.text;
    else
      pBlock.innerHTML = "Searches Arch Linux wiki for the given words.";
  }
});
makeSearchCommand({
  name: "Arch-Bugs-Search",
  author: {name: "Laurie Clark-Michalek", email: "laurielegit@gmail.com"},
  homepage: "http://blue-peppers.blogspot.com",
  license: "GPL",
  description: "Search for bugs for Arch Linux",
  icon: "http://wiki.archlinux.org/favicon.ico",
  url:"http://bugs.archlinux.org/index.php?string={QUERY}&project=1&type[]=&sev[]=&pri[]=&due[]=&reported[]=&cat[]=&status[]=open&percent[]=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=&do=index",
  preview: function(pBlock, directObj) {
    if (directObj.text)
      pBlock.innerHtml = "Searches Arch Linux bugs for " + directObj.text;
    else
      pBlock.innerHTML = "Searches Arch Linux bugs for the given words.";
  }
});
